<?php 
namespace Home\Controller;

use Think\Controller;

class PersonController extends CommonController{

	public function index()
	{
		if(empty($_SESSION['User'])){
			$this->error('请先登录!',U('User/index'));
		}
		$this->display();
	}

}